/*
 * this file use AGCode auto generate.
 * Project home page: https://gitee.com/you-yuan/AutoGeneratorCode
 * Copyright(c) 2022. YouYuan https://gitee.com/you-yuan/
 */

package com.yuan.springcloud.user.bean.dto;

import java.util.Date;
import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户数据传输类
 * @date 2022-04-10 08:06:48
 * @author YouYuan
 */
@Data
@EqualsAndHashCode
public class UserDTO {

    /**用户ID*/
    public Long id;

    /**用户名*/
    public String username;

    /**密码*/
    public String password;

    /**盐值*/
    public Integer salt;

    /**昵称*/
    public String nickname;

    /**邮箱*/
    public String email;

    /**手机号*/
    public String mobile;

    /**用户类型*/
    public Integer userType;

    /**启用状态(0:启用,1:禁用)*/
    public Integer isEnable;

    /**删除状态(0:未删除,1:已删除)*/
    public Integer isDelete;

    /**版本号*/
    public Integer version;

    /**创建人*/
    public Long createBy;

    /**创建时间*/
    public Date createDate;

    /**更新人*/
    public Long updateBy;

    /**更新时间*/
    public Date updateDate;


}
